package Exercises;

import java.util.Scanner;

public class Task5 {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);
		
		int a = 0;
		int b = Integer.MAX_VALUE;
		int c = 0;
		
		
		while(true)
		{
			System.out.println("Please add a number: ");
		int n = sc.nextInt();
		if(n==0)
		 {
		  break;
		 }
		
			if(n>a)
			 {
			a=n;
			 }
			if(n<b)
			 {
			b=n;	
			 }
			if(n>c && n%2!=0)
			 {
			c=n;	
			 } 
			
		}
		
		System.out.println("Your biggest number is: " + a);
		System.out.println("Your smaller number is: " + b);
		System.out.println("your biggest uneven number is: " + c);
		
	}

}
